package com.huluspace.learnhub.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
  private long total;      // 总记录数
  private List<T> records; // 当前页的数据列表
  private int page;
  private int pageSize;
}
